<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">


	//var a = [11,3,2,9];
	var a =['aeb','aab','b'];
	alert(a.sort());
	
</script>
</body>
</html>